package com.mage.bean;

import java.util.Date;

public class Record {

    private int id;

    private Date createtime;

    private int userid;

    private String username;

    private String address;

    private String content;

    private String amount;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }



    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Record{" +
                "id=" + id +
                ", createtime=" + createtime +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", address='" + address + '\'' +
                ", content='" + content + '\'' +
                ", amount='" + amount + '\'' +
                '}';
    }

    public Record(int id, Date createtime, int userid, String username, String address, String content, String amount) {
        super();
        this.id = id;
        this.createtime = createtime;
        this.userid = userid;
        this.username = username;
        this.address = address;
        this.content = content;
        this.amount = amount;
    }

    public Record(){
        super();
    }
}
